//
//  ColorTools.m
//  Stock_Pro
//
//  Created by imuse on 10-11-20.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "ColorTools.h"

int stringToHex(NSString* aString)
{
	if (!aString) {
		return 0;
	}
	int i;  
	sscanf([aString cStringUsingEncoding:NSASCIIStringEncoding], "%x", &i); 
	return i;
}

@implementation ColorTools


@end
